(setq bindings
(append bindings
(which-key--get-keymap-bindings def t key))))
- ((and def (consp def))
- (cl-pushnew (cons key-desc (car def))
- bindings :test (lambda (a b) (string= (car a) (car b)))))
(t
(when def
(cl-pushnew
((eq 'menu-item (car-safe def)) "menu-item")
((stringp def) def)
((vectorp def) (key-description def))
+ ((consp def) (car def))
(t "unknown")))
bindings :test (lambda (a b) (string= (car a) (car b)))))))))
keymap)